﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Downplay.Gravity.Filters
{
    /// <summary>
    /// Holds the response for the Drop indicating HTML updates for specific regions (to be serialized to Json usually)
    /// TODO: Separate AJAX module.
    /// TODO: If any targetted zones don't exist on the page, it should refresh
    /// </summary>
    public class AjaxResponse
    {

        public AjaxResponse()
        {
            Updates = new List<PartialUpdateDefinition>();
        }

        public IList<PartialUpdateDefinition> Updates { get; set; } 

    }
}